package com.lingshu.app.repository;

import androidx.lifecycle.MutableLiveData;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 于定金
 * @version 1.0
 * @Date 2024/1/15 14:31
 * @Description
 */
public class BaseRepository<T> {
    public final MutableLiveData<T> dataDetail = new MutableLiveData<>();
    public final MutableLiveData<List<T>> dataList = new MutableLiveData<>();
    public final MutableLiveData<Integer> totalCount = new MutableLiveData<>();
    public final List<T> emptyList = new ArrayList<>();
}
